<?php
$this->title = '网站地图';
$this->registerCss("
    .page-sitemap{padding:40px 20px}
    .side-contect{display:none}
    .side-contect-left{display:none}
    .page-contact{display:none !important}
    ul{padding:0px;margin:0px;}
    ul li{list-style:none;padding:10px 20px;font-size:14px;font-weight:300}
    ul li a{color:#333}
");
?>

<div class="page-sitemap">
    <div class="" style="text-align: center">
        <h3>网站地图 SiteMap</h3>
    </div>
    <div style="border:1px solid #ebebeb;padding: 30px 15px;margin-top: 30px;border-radius: 12px">
        <div class="sec-one">
            <p style="padding: 10px 0px;font-weight: 500;font-size: 18px;margin-bottom: 0px">网站目录</p>
            <ul>
                <?php foreach(\common\components\Tools::getTopmenu() as $v){ ?>
                    <li><a href="<?=$v['code']?>"><?=$v['title']?></a></li>
                <?php }?>
            </ul>
        </div>
        <div class="sec-two">
            <p style="padding: 10px 0px;font-weight: 500;font-size: 18px;margin-bottom: 0px">网站文章</p>
            <ul>
                <?php foreach($article as $v){ ?>
                    <li><a href="/article/<?=$v['id']?>.html" target="_blank" title="<?=$v['title']?>"><?=$v['title']?></a></li>
                <?php }?>
            </ul>
        </div>
        <div class="sec-two">
            <p style="padding: 10px 0px;font-weight: 500;font-size: 18px;margin-bottom: 0px">期刊资源</p>
            <ul>
                <?php foreach($qikan as $v){ ?>
                    <li><a href="/resource/<?=$v['id']?>.html" target="_blank" title="<?=$v['title']?>"><?=$v['title']?></a></li>
                <?php }?>
            </ul>
        </div>
    </div>

</div>
